package com.ruoyi.mes.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 入库管理对象 lny_storage_put
 * 
 * @author CFL
 * @date 2024-04-28
 */
public class LnyStoragePut extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 入库编号 */
    @Excel(name = "入库编号")
    private String bpsSn;

    /** 产品库存id */
    private Long proStrmId;

    /** 物料id */
    private Long matId;

    /** 车间任务id */
    private Long taskId;

    /** 库房id */
    private Long strmId;

    /** 即将入库数量 */
    private Long num;

    /** 入库数量 */
    @Excel(name = "入库数量")
    private Long bpsNum;

   /** 已入库数量 */
    private Long bpsRenum;

    /** 入库类型 */
    @Excel(name = "入库类型")
    private Integer bpsType;

    /** 入库日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "入库日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date bpsDate;

    /** 逻辑删除;0：存在；1：删除 */
    private Integer isDeleted;

    /** 创建者 */
    @Excel(name = "创建者")
    private String createdBy;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdTime;

    /** 更新者 */
    private String updatedBy;

    /** 更新时间 */
    private Date updatedDate;

    /** 入库状态 */
    private int state;

    /** 车间任务编号 */
    private String taskSn;

    /** 产品名称 */
    private String proName;

       /** 采购订单编号 */
    private String purchaseSn;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setBpsSn(String bpsSn) 
    {
        this.bpsSn = bpsSn;
    }

    public String getBpsSn() 
    {
        return bpsSn;
    }
    public void setProStrmId(Long proStrmId) 
    {
        this.proStrmId = proStrmId;
    }

    public Long getProStrmId() 
    {
        return proStrmId;
    }

    public Long getMatId() {
        return matId;
    }

    public void setMatId(Long matId) {
        this.matId = matId;
    }

    public Long getTaskId() {
        return taskId;
    }

    public void setTaskId(Long taskId) {
        this.taskId = taskId;
    }


    public Long getStrmId() {
        return strmId;
    }

    public void setStrmId(Long strmId) {
        this.strmId = strmId;
    }

    public Long getNum() {
        return num;
    }

    public void setNum(Long num) {
        this.num = num;
    }

    public void setBpsNum(Long bpsNum) 
    {
        this.bpsNum = bpsNum;
    }

    public Long getBpsNum() 
    {
        return bpsNum;
    }


    public Long getBpsRenum() {
        return bpsRenum;
    }

    public void setBpsRenum(Long bpsRenum) {
        this.bpsRenum = bpsRenum;
    }


    public void setBpsType(Integer bpsType) 
    {
        this.bpsType = bpsType;
    }

    public Integer getBpsType() 
    {
        return bpsType;
    }
    public void setBpsDate(Date bpsDate) 
    {
        this.bpsDate = bpsDate;
    }

    public Date getBpsDate() 
    {
        return bpsDate;
    }
    public void setIsDeleted(Integer isDeleted) 
    {
        this.isDeleted = isDeleted;
    }

    public Integer getIsDeleted() 
    {
        return isDeleted;
    }
    public void setCreatedBy(String createdBy) 
    {
        this.createdBy = createdBy;
    }

    public String getCreatedBy() 
    {
        return createdBy;
    }
    public void setCreatedTime(Date createdTime) 
    {
        this.createdTime = createdTime;
    }

    public Date getCreatedTime() 
    {
        return createdTime;
    }
    public void setUpdatedBy(String updatedBy) 
    {
        this.updatedBy = updatedBy;
    }

    public String getUpdatedBy() 
    {
        return updatedBy;
    }
    public void setUpdatedDate(Date updatedDate) 
    {
        this.updatedDate = updatedDate;
    }

    public Date getUpdatedDate() 
    {
        return updatedDate;
    }

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }


    public String getTaskSn() {
        return taskSn;
    }

    public void setTaskSn(String taskSn) {
        this.taskSn = taskSn;
    }

    public String getProName() {
        return proName;
    }

    public void setProName(String proName) {
        this.proName = proName;
    }
    public String getPurchaseSn() {
        return purchaseSn;
    }

    public void setPurchaseSn(String purchaseSn) {
        this.purchaseSn = purchaseSn;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("bpsSn", getBpsSn())
            .append("proStrmId", getProStrmId())
            .append("bpsNum", getBpsNum())
            .append("bpsType", getBpsType())
            .append("bpsDate", getBpsDate())
            .append("isDeleted", getIsDeleted())
            .append("createdBy", getCreatedBy())
            .append("createdTime", getCreatedTime())
            .append("updatedBy", getUpdatedBy())
            .append("updatedDate", getUpdatedDate())
            .append("remark", getRemark())
            .toString();
    }
}
